package com.li.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.li.domain.Role;

import java.util.List;

public interface RoleService extends IService<Role>{

    String addRole(Role role);

    String updateRole(Role role);

    void delRole(Integer roleId);

    List<Role> listRole(Role role, Integer page, Integer limit);

    Integer listRoleCount(Role role);

    Role editRoleAndDeptIdAndMenuId(Role role);
}
